package com.example.vo;

import lombok.Data;
import lombok.SneakyThrows;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

@Data
public class FundVO {
    //基金代码
    private String fundCode;
    //基金简称
    private String fundShortName;
    //统计日期(最近)
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date endDate;
    //单位净值
    private BigDecimal unitNetVal;
    //近一周
    private String oneWeekNearly;
    //近一月
    private String oneMonthNearly;
    //近三月
    private String threeMonthNearly;
    //近一年
    private String oneYearNearly;
    //近两年
    private String twoYearNearly;
    //近三年
    private String threeYearNearly;
    //今年来
    private String thisYearNearly;
    //成立来
    private String sinceSetUp;
}
